package com.feng.eduservice.service;

import com.feng.commonutils.R;
import com.feng.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author fengge
 * @since 2023-01-17
 */
public interface EduVideoService extends IService<EduVideo> {
    /**
     * 根据videoid查询小节信息
     * @param id
     * @return
     */
    R getVideoInfo(String id);

    /**
     * 删除小节同时删除阿里视频
     * @param id
     * @return
     */
    R removeVideoById(String id);
}
